/* ===========================================================
   PS News Portal v3.2.1 - Fix immagine principale + link
   =========================================================== */

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #fdfdfb;
  color: #111;
}

/* HEADER */
.psnp-header {
  text-align: center;
  padding: 40px 0 30px;
  border-bottom: 1px solid #ccc;
}

.psnp-logo {
  max-width: 300px;
  margin-bottom: 10px;
}

.psnp-header h2 {
  font-size: 20px;
  color: #444;
  font-weight: 500;
  margin-top: 8px;
}

/* LINK GLOBALI - NIENTE SOTTOLINEATO */
a {
  text-decoration: none !important;
  color: inherit;
}
a:hover {
  text-decoration: none !important;
  color: #0b1f3a;
}

/* APERTURA PRINCIPALE */
.psnp-feature {
  max-width: 950px;
  margin: 50px auto 40px;
  text-align: center;
}

.psnp-feature-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.psnp-thumb-large {
  width: 100%;
  max-height: 560px; /* aumentata per desktop */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.psnp-title-main {
  font-size: 34px;
  font-weight: 700;
  margin: 25px 0 10px;
  line-height: 1.2;
  color: #0b1f3a;
}

.psnp-date {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.psnp-excerpt-main {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* TRE NOTIZIE SECONDARIE */
.psnp-secondary {
  max-width: 950px;
  margin: 40px auto 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 25px;
}

.psnp-small {
  display: block;
  color: inherit;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.psnp-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.psnp-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.psnp-title-small {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #0b1f3a;
  padding: 14px 18px 16px;
}

/* LISTA A CASCATA */
.psnp-list {
  max-width: 950px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.psnp-list-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  padding: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.psnp-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.psnp-thumb-list {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 20px;
}

.psnp-list-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.psnp-title-list {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0b1f3a;
  line-height: 1.4;
}

.psnp-list-item .psnp-date {
  font-size: 13px;
  color: #777;
  margin-bottom: 5px;
}

.psnp-list-item .psnp-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* FOOTER */
.psnp-footer {
  text-align: center;
  padding: 35px 0 45px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #555;
  margin-top: 60px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .psnp-thumb-large {
    max-height: 400px;
  }
  .psnp-title-main {
    font-size: 26px;
  }
  .psnp-secondary {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .psnp-thumb {
    height: 160px;
  }
  .psnp-list-item {
    flex-direction: column;
    padding: 10px;
  }
  .psnp-thumb-list {
    width: 100%;
    height: 180px;
    margin: 0 0 10px 0;
  }
}

@media (max-width: 600px) {
  .psnp-title-main {
    font-size: 22px;
  }
  .psnp-secondary {
    grid-template-columns: 1fr;
  }
  .psnp-list {
    margin: 40px auto;
    gap: 18px;
  }
}
